//
//  SensorData.m
//  SujetObserver
//
//  Created by Pierre DUCHENE on 14/02/10.
//  Copyright 2010 Pierre DUCHENE. All rights reserved.
//

#import "SensorData.h"


@implementation SensorData

#pragma mark -
#pragma mark Accessors
@synthesize data, dataVersion;

#pragma mark -
#pragma mark Memory Management
- (id) init
{
	self = [super init];
	if (self != nil) {
		data = kDefaultData;
		dataVersion = kNoVersionValue;
	}
	return self;
}

#pragma mark -
#pragma mark NSCopying Implementation
- (id)copyWithZone:(NSZone *)zone
{
	SensorData* copy = [[SensorData allocWithZone:zone] init];
	[copy setData:data];
 	[copy setDataVersion:dataVersion];
	return copy;
}

@end
